package com.cskaoyan.app.service;

import com.cskaoyan.app.bean.bo.adminbo.AdminAdminBo;
import com.cskaoyan.app.bean.bo.adminbo.AdminDelBo;
import com.cskaoyan.app.bean.common.BasePageInfo;
import com.cskaoyan.app.bean.po.MarketAdmin;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AdminAdminService {
    List<MarketAdmin> createAdminData(AdminAdminBo createBo);

    PageInfo<MarketAdmin> listPageAdmins(BasePageInfo basePageInfo);

    MarketAdmin update(AdminAdminBo adminBo);

    void delAdminData(AdminDelBo adminDelBo);

    void createPicFile(HttpServletRequest request);

    String aliFileUpload(MultipartFile file);
}
